package com.jiumi.baseconfig.domain;

import com.jiumi.common.annotation.Excel;
import com.jiumi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
 * 课程分类对象 base_course_type
 *
 * @author jiumi
 * @date 2023-05-21
 */
public class BaseCourseType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 课程类型名称 */
    @Excel(name = "课程类型名称")
    private String courseType;

    /** 排序编号 */
    @Excel(name = "排序编号")
    private Long sortNo;

    /** 是否展示N不展示Y展示 */
    @Excel(name = "是否展示N不展示Y展示")
    private String showFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCourseType(String courseType)
    {
        this.courseType = courseType;
    }

    public String getCourseType()
    {
        return courseType;
    }
    public void setSortNo(Long sortNo)
    {
        this.sortNo = sortNo;
    }

    public Long getSortNo()
    {
        return sortNo;
    }
    public void setShowFlag(String showFlag)
    {
        this.showFlag = showFlag;
    }

    public String getShowFlag()
    {
        return showFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("courseType", getCourseType())
            .append("sortNo", getSortNo())
            .append("showFlag", getShowFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
